package com.woniu.cms.auth.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lilili
 * @since 2022-09-16
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cms_position")
@ApiModel(value = "Position对象", description = "")
public class Position implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("职位编号")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("职位名称")
      private String positionName;

      @ApiModelProperty("公司编号；0：客户；1：总公司；>1:分公司")
      private Integer companyId;


}
